package edu.hhu.controller;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

import com.alibaba.fastjson.JSON;
import com.jfinal.core.Controller;

import tree.TreeService;

public class TreeController extends Controller {

	public void tree(){
		String json="";
			TreeService xzqService=new TreeService();
			try{
				json = JSON.toJSONString(xzqService.tree());
//				System.out.println(json);
			}catch(Exception e){
				
			}
			renderJson(json);
	 }

}
